home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / C / MOVE_WM.ZIP / MOVE.DOC < prev   
Encoding:
Text File  |  1993-11-06  |  1.3 KB  |  27 lines

  1.      This utility is a result of me being tired of having to copy a file
  2. somewhere, then deleting it from where I copied from just because DOS
  3. doesn't provide a move utility (at least DOS 5.0 and below).
  4.  
  5.      I found some documented functions that let you move a file one 
  6. at a time, (INT 21h, function 56h) but wasn't happy with that.  I knew
  7. that if Norton could use wildcards, so could I.
  8.  
  9.      Opened up "Undocumented DOS" by Schulman et al. Lo and behold, 
  10. there was function 5D00h which lets you move files on the same drive
  11. using wild cards.  There is a very roundabout way to get to what you
  12. want.  I'll explain below.
  13.  
  14.      1.  Get canonical file names (function 60h).  This is undocumented.
  15.      2.  Load DPL with everything you want to call function 56h with.
  16.      Function 56h is the normal rename/move file with no wildcard support.
  17.      3.  Call function 5D00h.  This will in turn call function 56h with
  18.      the parameters you supplied in the DPL. The undocumented behavior of
  19.      function 56h is that when called by function 5D00h, it supports
  20.      wildcards!
  21.  
  22.      This program is freeware, released into the public domain. Feel free
  23. to use and modify.  If you have any questions, I can be reached at 
  24. CompuServe 76407,2235
  25.  
  26.                                  Walt Myers
  27.